home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1996 April
/
Macworld (1996-04).dmg
/
Educational Demos
/
Goldilocks Gamebook
/
Goldilocks.DIR
/
00157_Script_157
< prev
next >
Wrap
Text File
|
1995-11-20
|
529b
|
27 lines
-- ground
on mouseDown
global currentColor,p2
puppetSound "Click.AIF"
puppetSprite 3, true
if currentColor = "red" then
set the castNum of sprite 3 to 55
put 0 into p2
end if
if currentColor = "blu" then
set the castNum of sprite 3 to 56
put 0 into p2
end if
if currentColor = "bro" then
set the castNum of sprite 3 to 57
put 0 into p2
end if
if currentColor = "gre" then
set the castNum of sprite 3 to 58
put 1 into p2
end if
updateStage
end